﻿@{
    ViewBag.Title = "登录";
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<title>登录</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<style>
a{text-decoration: none;} /* 链接无下划线,有为underline */ 
a:link {color: #232323;} /* 未访问的链接 */
a:visited {color: #232323;} /* 已访问的链接 */
a:hover{color: #FFCC00;} /* 鼠标在链接上 */ 
a:active {color: #FFCC00;} /* 点击激活链接 */
td ,body{
	color:#232323;
	font-size:12px;
	line-height: 18px;
}
.input{
    FONT-FAMILY: "新宋体";
    FONT-SIZE: 12px;
	COLOR:#F3F3F3;
    text-decoration: none;
    line-height: 150%;
    background:#0099CC;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
    border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-bottom-color: #FFFFFF;
	border-left-color: #FFFFFF;
	padding:0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
}
.input_1{
    FONT-FAMILY: "新宋体";
    FONT-SIZE: 12px;
	COLOR:#006699;
    text-decoration: none;
    line-height: normal;
    background:#FFFFFF;
	border-top-width: 1px;
	border-right-width: 1px;
	border-bottom-width: 1px;
	border-left-width: 1px;
    border-top-style: solid;
	border-right-style: solid;
	border-bottom-style: solid;
	border-left-style: solid;
	border-top-color: #80CCFF;
	border-right-color: #80CCFF;
	border-bottom-color: #80CCFF;
	border-left-color: #80CCFF;
	padding:0px;
    margin-top: 0px;
    margin-right: 0px;
    margin-bottom: 0px;
    margin-left: 0px;
}
</style>
<head>
<body background="/images/admin/log_bg.gif" topmargin="80">
<table width="486" border="0" align="center" cellpadding="0" cellspacing="3" bgcolor="#00CCFF">
  <tr>
    <td height="287" bgcolor="#FFFFFF"> 
      <TABLE WIDTH=486 BORDER=0 CELLPADDING=0 CELLSPACING=0>
        <TR> 
          <TD COLSPAN=2><img src="/images/admin/i_1.gif" alt="网站内容管理系统" width=486 height=87 border="0" usemap="#Map" target="_blank"></TD>
        </TR>
        <TR> 
          <TD width="339">
		  <table width="317" height="112" border="0" align="center" cellpadding="0" cellspacing="0">
              <form action="CheckLogin.asp"  method="post" name="myform" id="myform"  onsubmit="return CheckForm();">
                <tr> 
                  <td width="23%" height="16"> <div align="center">用户名 </div></td>
                  <td width="77%" height="16"> <input name="name" type="text" class="input_1" id="name4" style="width:160px" />                    </td>
                </tr>
                <tr> 
                  <td height="15"> <div align="center">密　码</div></td>
                  <td height="15"><input name="password" type="password" class="input_1" id="password4" style="width:160px;FONT-SIZE:12px;" /></td>
                </tr>
                <tr class="back"> 
                  <td height="21" class="hback">&nbsp;</td>
                  <td height="21" class="hback"> <input class="input" type="submit" value="确定登陆" name="Submit" />
                    </td>
                </tr>
              </form>
            </table> </TD>
          <TD width="147"> <IMG SRC="/images/admin/i_3.gif" WIDTH=147 HEIGHT=124 ALT=""></TD>
        </TR>
        <TR valign="bottom"> 
          <TD height="77" COLSPAN="2" background="/images/admin/i_4.jpg"> <font color="#FFFFFF"><br>
            </font></TD>
        </TR>
      </TABLE>
    </td>
  </tr>
</table>
  

</body>
</html>

<script language="JavaScript" type="text/javascript">



    function CheckForm() {
        if (document.myform.name.value == "") {
            alert("请输入您的用户名！");
            document.myform.name.focus();
            return false;
        }
        if (document.myform.password.value == "") {
            alert("请输入您的密码！");
            document.myform.password.focus();
            return false;
        }

    }
</script>

